home *** CD-ROM | disk | FTP | other *** search
- /***************************************************************************
- *
- *
- * NCSA HDF version 3.2r2
- * October 30, 1992
- *
- * NCSA HDF Version 3.2 source code and documentation are in the public
- * domain. Specifically, we give to the public domain all rights for future
- * licensing of the source code, all resale rights, and all publishing rights.
- *
- * We ask, but do not require, that the following message be included in all
- * derived works:
- *
- * Portions developed at the National Center for Supercomputing Applications at
- * the University of Illinois at Urbana-Champaign, in collaboration with the
- * Information Technology Institute of Singapore.
- *
- * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
- * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
- * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
- *
- ****************************************************************************
- */
-
-
- #ifdef RCSID
- static char RcsId[] = "@(#)$Revision: 1.5 $";
- #endif
- /*
- $Header: /hdf/hdf/v3.2r2/util/RCS/vcompat.c,v 1.5 1992/07/15 21:48:48 sxu beta koziol $
-
- $Log: vcompat.c,v $
- * Revision 1.5 1992/07/15 21:48:48 sxu
- * No change
- *
- * Revision 1.4 1992/05/26 21:00:08 koziol
- * Folded Jason's Mac port and Linted code into the main version
- *
- * Revision 1.3 1992/04/24 15:38:25 koziol
- * PC port
- *
- * Revision 1.2 1992/02/29 18:58:36 sxu
- * add header
- *
- * Revision 1.1 1992/02/28 17:00:00 likkai
- * Initial revision
- *
- */
- #include <stdio.h>
- #include "vg.h"
-
- main (ac,av) int ac; char**av; {
-
- if (ac!=2) {
- fprintf(stderr,"%v: converts HDF vset v1.0 files to v2.0\n",av[0]);
- fprintf(stderr,"Usage: %s hdf-file\n",av[0]);
- exit(0);
- }
-
- if ( 0 == vcheckcompat(av[1]) ) {
- vmakecompat (av[1]);
- fprintf(stderr,"file [%s] is now compatible\n", av[1]);
- }
- else
- fprintf(stderr,"file [%s] already compatible with r2.0\n",av[1]);
-
- } /* main */
-
- /* ------------------------------------------------------------------ */
-